# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
# Contributor: Esben Haabendal <esben@haabendal.dk>

pkgname=aspell-da
pkgver=4.1
pkgrel=1
pkgdesc='Danish dictionary for aspell'
arch=('any')
url='https://github.com/mortenivar/aspell-da'
license=('GPL2')
depends=('aspell')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mortenivar/${pkgname}/archive/refs/tags/${pkgver}.tar.gz")
sha512sums=('88a3a60db9be45f3235d75db0f946a5d7da0c2cfcf847ad2672c7b0e243454dce56f5f37d0652c6f2b9aeb08edbbefb80c4f45c909e5ba33aec2714f83fac7c3')

build() {
    cd "${pkgname}-${pkgver}"
    ./configure
    make
}

package() {
    cd "${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
}
